Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document testing use of @pytest.mark.disable_db #4726

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mikerkelly
Copy link
Contributor

@mikerkelly mikerkelly commented Nov 8, 2024

It's not completely obvious that the database is enabled by default and tests that don't require it should declare that. Document this so test authors are more likely to be aware.

For an example of where I didn't get this right initially, see #4717 / f12a356.

@mikerkelly mikerkelly self-assigned this Nov 8, 2024
It's not completely obvious that the database is enabled by default and tests
that don't require it should declare that. Document this so test authors are
more likely to be aware.
@mikerkelly mikerkelly force-pushed the mikerkelly/docs/disable-db-decorator branch from 0d57cf7 to 421fe3d Compare November 8, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant